package com.qbd.show.model.show;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 用户
 * @Table  表名
 * @Entity 实体类名
 * @Id 主键
 * @Column  列
 *
 */
@Table(name="user")
@Entity(name = "User")
@Data
public class User {

	@Id
	@Column(name = "id")
	private long Id;

	@Column(name = "name")
	private String Name;

	@Override
	public String toString() {
		return "User [Id=" + Id + ", Name=" + Name +
				"]";
	}

	

}
